import { Component } from '@angular/core';
import { Site }    from './site';
@Component({
	moduleId: module.id,
  selector: 'my-app',
  templateUrl: 'site-form.component.html'

  //template: '<h1>我的第一个 Angular 应用1</h1><div>&nbsp;</div><datepicker [(ngModel)]="date"     expanded="true"   [format]="YYYY-MM-DD" class="success" [expanded]="true"></datepicker><datepicker [(ngModel)]="date2"     expanded="true"   [format]="YYYY-MM-DD" class="success" [expanded]="true"></datepicker>'
})
export class AppComponent { 
urls = ['www.runoob.com', 'www.google.com',
            'www.taobao.com', 'www.facebook.com'];

  model = new Site(1, '菜鸟教程', this.urls[0], 10000);



}